package cao.oschina.app;

import hd.util.app.BaseContext;

/**
 * AppContext
 * <p/>
 * Created by Haidy on 15/3/2.
 */
public class AppContext extends BaseContext {

    private Config config;

    @Override
    public void onCreate() {
        super.onCreate();
        config = Config.instanceConfig(this);
    }

    /**
     * 获取config
     *
     * @return config对象
     */
    public Config getConfig() {
        return config;
    }
}
